 package com.lj.mcore.entity;


 import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.Entity;
 import jakarta.persistence.FetchType;
 import jakarta.persistence.ManyToOne;
 import jakarta.persistence.Table;

 @Entity
 @Table(name="shopping_goodsclassstaple")
 public class GoodsClassStaple extends IdEntity
 {
   private String name;
 
   @ManyToOne(fetch= FetchType.LAZY)
   private GoodsClass gc;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private Store store;
 
   public String getName()
   {
     return this.name;
   }
 
   public void setName(String name) {
     this.name = name;
   }
 
   public GoodsClass getGc() {
     return this.gc;
   }
 
   public void setGc(GoodsClass gc) {
     this.gc = gc;
   }
 
   public Store getStore() {
     return this.store;
   }
 
   public void setStore(Store store) {
     this.store = store;
   }
 }



 
 